<?php echo $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
<?php
    	echo $this->HeadMeta();     
    	echo $this->headTitle(); 
    	echo $this->headLink();  
    	//$this->headScript(); 
    
    $this->dojo()->enable();
    // Check if dojo library is needed
    if ($this->dojo()->isEnabled()) {  	
    	$this->dojo()->setLocalPath('js/dojo/dojo/dojo.js')
                 ->addStyleSheetModule('dijit.themes.soria')//URGENT:trouver un moyen de parametrer et dynamiser ça, tester is dojo()->isEnabled()
                 //->setDjConfigOption('usePlainJson', true)
                 ; 
       
       // Echo out the dojo <script> tags
        echo $this->dojo();
    }
    echo $this->headScript();
?>		
</head>

<body class="soria">

<?php
//$this->dojo()->enable();

echo $this->layout()->content;
/*
$this->accordionContainer()->captureStart('navAccordion',
        array('duration' => 200),
        array('style' => 'width: 200px; height: 300px;'));
        // Start accordion capture

 
      $this->accordionPane()->captureStart('accordion1',
                array('title' => 'First Accordion'));
                // Start first accordion item capture
    
 
echo 'This is my first accordion content pane';
 
      $this->accordionPane()->captureEnd('accordion1');
                // End First accordion item capture and output
     
 
      $this->accordionPane()->captureStart('accordion2',
                array('title' => 'Second Accordion'));
                // Start first accordion item capture
      
echo 'This is my second accordion content pane';
 
      $this->accordionPane()->captureEnd('accordion2');
                // End First accordion item capture and output
      
 
echo $this->accordionContainer()->captureEnd('navAccordion');
                // End accordion capture and output*/

//echo $this->dojo();
?>

</body>
</html>




